package com.mhh.selary.backend.dao.entity.user;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mhh.motor.mybatis.base.BaseEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * SelaryUserAccountEntity
 *
 * @author 人工智能
 * @date 2020-11-11 14:24:36
 */
@Getter
@Setter
@TableName(value = "selary_user_account")
public class SelaryUserAccountEntity extends BaseEntity {

    /**
     * 用户名
     **/
    @TableField(value = "username")
    private String username;

    /**
     * 密码
     **/
    @TableField(value = "password")
    private String password;

    /**
     * 初始化密码
     **/
    @TableField(value = "init_pwd")
    private String initPwd;

    /**
     * 角色(1:管理员 2:测试人员)
     **/
    @TableField(value = "role")
    private Integer role;

    /**
     * 账号状态(0:初始化 1:启用 2:禁用)
     **/
    @TableField(value = "status")
    private Integer status;
}
